import 'package:flutter/material.dart';

void main() => runApp(MyApp());

class MyApp extends StatelessWidget {
  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'Flutter Test App',
      home: Scaffold(
        appBar: AppBar(
          title: Text('Hello World'),
        ),
        body: Center(
          child: Container(
            child: new Text(
              'Hello Text Demo! ',
              style: TextStyle(
                fontSize: 40,
              ),
            ),
            alignment: Alignment.bottomCenter,
            width: 500,
            height: 400,
            // color: Colors.lightBlue,
            padding: EdgeInsets.fromLTRB(20, 100, 50, 100),
            margin: const EdgeInsets.all(10),
            decoration: new BoxDecoration(
              gradient: const LinearGradient(colors: [
                Colors.lightBlue,
                Colors.greenAccent,
                Colors.purple
              ]),
            ),
          ),
        ),
      ),
    );
  }
}
